package bloomers

/**
* controls the view of the user home page and also gets the information from session.user to have a personalized greeting for the user
* depending of the user's role, there is either a remove lockout option (if admin) or not (if not an admin)
*/

class UserHomeController {

    def userHome() { 
        render(view:"userHome", model:[name:session.user.firstName, role:session.user.role])
    }
}
